@import 'reset';
$fontSize:37.5;

@function px2rem ($px) {
    @return ($px / $fontSize) +rem;
}

@mixin  center () {
    display: flex;
    justify-content: center;
    align-items: center;
}
/*应该是名字不对*/
.slide-up-enter,.slide-up-leave-to{
    transform: translate3d(0, 100%, 0)
}
.slide-up-enter-to,.slide-up-leave,
.slide-down-enter-to, .slide-down-leave{
    transform: translate3d(0, 0, 0)
}
.slide-up-enter-active, .slide-up-leave-active
.slide-down-enter-active, .slide-down-enter-active{
    transition: all .3s linear
}

/*&表示两者是同级的 scss不然识别不来*/
.slide-down-enter, .slide-down-leave-to{
    transform: translate3d(0, -100%, 0)
}
.slide-down-enter-to, .slide-down-leave {
    transform: translate3d(0, 0, 0)
}
